using System;
using System.Collections;
using Evaluant.Uss;

namespace Evaluant.Uss.ObjectContext
{
	public interface IPersistable
	{
		Entity Entity
		{
			get;
			set;
		}

		ObjectContext ObjectContext
		{
			get;
			set;
		}

		/// <summary>
		/// This method must recusrsively call TrackObject on "already loaded" referenced objects
		/// </summary>
		void TrackChildren();
	}
}